package tech.eyao.hs60x.mapper;

import java.util.Date;
import java.util.List;

import org.apache.ibatis.annotations.Param;

import tech.eyao.hs60x.dto.StepDTO;
import tech.eyao.hs60x.model.domain.StepDO;
import tech.eyao.hs60x.vo.StepQuery;

public interface StepDOMapper {
    int deleteByPrimaryKey(Long id);

    int insert(StepDO record);

    StepDO selectByPrimaryKey(Long id);

    int updateByPrimaryKey(StepDO record);

	StepDO getCurrDayStep(@Param("watchId")long watchId, @Param("setpDate")Date date);

	List<StepDO> list(StepQuery pageQuery);
}